package mysql

import "gorm.io/gorm"

type Topic struct {
	gorm.Model
	Name     string `gorm:"type:varchar(30);not null;comment:'话题名称'"`
	Intro    string `gorm:"type:text;not null;comment:'话题描述'"`
	HotLevel int    `gorm:"type:int;not null;comment:'话题热度'"`
}
